package com.ninthgroup.mapper;

import com.ninthgroup.entity.Role;
import com.ninthgroup.entity.TechnicalOffice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import java.util.List;

public interface TechnicalOfficeMapper {
    int deleteByPrimaryKey(Integer tId);

    int insert(TechnicalOffice record);

    int insertSelective(TechnicalOffice record);

    TechnicalOffice selectByPrimaryKey(Integer tId);

    int updateByPrimaryKeySelective(TechnicalOffice record);

    int updateByPrimaryKey(TechnicalOffice record);


    /**
     * @create by: 1452863884@qq.com rcg
     * @description:查询所有，分页，和查找
     * @create time: 2022/10/19 14:27
     * @param tName
     * @param tStatus
     * @return java.util.List<com.ninthgroup.entity.TechnicalOffice>
     */
    List<TechnicalOffice> selectByCondition(@Param("tName") String tName,@Param("tStatus") Integer tStatus);


}